package 继承之成员变量;

public class SuperClass {
    int numSuperClass = 10;
    int num = 100;

    public void methodSuper() {
        //使用的是本类中的num
        System.out.println(num);
    }
}
